package com.sh.data.engine.domain.integration.online.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FlinkTableFieldDomain {

    private String fieldName;

    private String fieldType;

    private String comment;

    /**
     * 是否是分区字段
     */
    private boolean isPartition;

    /**
     * 字段是否是主键
     */
    private boolean isPk;

    /**
     * 字段可否为空
     */
//    @ApiModelProperty(value = "字段可否为空 0-NO  1-YES")
    private boolean isNullable;

    /**
     * 是否是标签字段(InfluxDB使用)
     */
    private boolean isTag;
}
